package hotel;

import java.util.GregorianCalendar;

public class Test {
	public static GregorianCalendar gc=new GregorianCalendar();
	
	public static void main(String[] args) {
		System.out.println("Giorno: " + gc.get(GregorianCalendar.DAY_OF_MONTH) );
		System.out.println("Mese: " + gc.get(GregorianCalendar.MONTH) );
		System.out.println("Anno: " + gc.get(GregorianCalendar.YEAR) );
	}

}
